package com.igbeok.miscellaneous.concurrency;

public class Execise11Task implements Runnable {
	private Execise11 execise11;
	private static int count = 0;
	private int id = count++;

	public Execise11Task(Execise11 execise11) {
		this.execise11 = execise11;
	}

	public void run() {
		while (true) {
			execise11.add();
		}
	}

}
